<?php if (!defined('THINK_PATH')) exit();?> <html>
   <head>
		<meta  charset = "utf-8">
   </head>
   <body>
		<center>
		   
		     <h3>学生管理系统</h3>
			 <a href="<?php echo U('index/select');?>">查看信息</a>&nbsp;
		     <a href="<?php echo U('index/add');?>">添加信息</a>
		     <hr>  
			 <form action="<?php echo U('index/insert');?>"  method="post" enctype="multipart/form-data" >
			<table  width = "300"  border = "1" cellspacing = "0"  >
			   <tr>
					<td>姓名</td>
					<td><input type = "text" name = "name"  value = ""></td>
					
			   </tr>
			   <tr>
					<td>性别</td>
					<td><input type = "radio" name = "sex" id="man"  value = "1"><label for="man"> 男</label>
					    <input type = "radio" name = "sex" id="girl" value = "0"><label for="girl">女</label>
					</td>
					
			   </tr>
			   <tr>
					<td>年龄</td>
					<td><input type = "text" name = "age"  value = ""></td>
					
			   </tr>
			   <tr>
					<td>头像</td>
					<td><input type = "file" name = "pic"  ></td>
					
			   </tr>
			   <tr>
					<td>班级</td>
					<td><input type = "text" name = "class"  value = ""></td>
					
			   </tr>
			   <tr>
			      <td colspan = "2"  align = "center">
				     <input type = "submit" value = "添加">
				     <input type = "reset" value = "重置">
				  </td>
			   </tr>
			</table>
		</center>
   </body>
 </html>